<div class="assetForm">

<?php
    foreach($this->form_fields as $key=>$val)
    {
        foreach($val as $k=>$data)
        {
     ?>   
    <form name="updateAssetForm" method="POST" action="/update-asset">
         
        <?=$data['FieldName']. ' : ';?><input type ="<?=$data['InputType']?>" value="<?=$this->assetdata[$k]['FormFieldValue']?>" name="<?=$data['FieldName'].'___'.$data['id']?>" class="required"/><br><br>
               
   <?  } 
    
     } 
   ?>
    <input type="hidden" name="hidden_asset_id" value="<?=$key?>">    
    <input type="submit" name="updateBtn" value="Update">    
    </form>
</div>